<?php
session_start();
$command = $_GET['command'];

if($command == "sessioncheck"){
	if(isset($_SESSION['id']) && isset($_SESSION['username']) && isset($_SESSION['password'])){
		echo "1";
	}
	else{
		echo "no";
	}
}


?>